/**
 * This function imports all the routes and adds them
 * to the server provided.
 * @param {Restify Server Instance} server 
 */
// const userRoutes = require('./controller/user');
// const testRoutes = require('./controller/test');

const stockRoutes = require('./controller/stock');
// const userStockRoutes = require('./controller/user_stock');
// const userTagRoutes = require('./controller/user_tag');
// const userStockTagRoutes = require('./controller/user_stock_tag');
// const noteRoutes = require('./controller/note');

const addRoutes = (server) => {
    // Add the user routes
    // userRoutes.applyRoutes(server, '/user');
    // testRoutes.applyRoutes(server, '/test');

    stockRoutes.applyRoutes(server, '/stock');
    // userStockRoutes.applyRoutes(server, '/userStock');
    // userTagRoutes.applyRoutes(server, '/userTag');
    // userStockTagRoutes.applyRoutes(server, '/userStockTag');
    // noteRoutes.applyRoutes(server, '/note');
}

module.exports = addRoutes;